/**
 * Created by lianqinw on 16-1-28.
 */
var PageObject = {
    createNew: function(){
        var pageObject = {};
        pageObject.addBtn = element(by.id('.btn-create-fold'));
        pageObject.createFolderBtn = element.all(By.css('.nav-list .dropdown-menu a')).get(0);
        pageObject.folderNameInput = element(By.model('folderName'));
        pageObject.crateFolderOkBtn = element(By.css('.btn-right-aside'));
        return pageObject;

    }
}